package org.jeecg.modules.lab.chemical.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.lab.chemical.entity.LabChemicalUsedDescribe;
import org.jeecg.modules.lab.chemical.entity.LabChemicalUsedDescribeTo;
import org.jeecg.modules.lab.chemical.mapper.LabChemicalUsedDescribeMapper;
import org.jeecg.modules.lab.chemical.service.ILabChemicalUsedDescribeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 领用标准物质清单
 * @Author: jeecg-boot
 * @Date:   2023-08-15
 * @Version: V1.0
 */
@Service
public class LabChemicalUsedDescribeServiceImpl extends ServiceImpl<LabChemicalUsedDescribeMapper, LabChemicalUsedDescribe> implements ILabChemicalUsedDescribeService {

    @Autowired
    private LabChemicalUsedDescribeMapper labChemicalUsedDescribeMapper;
    @Override
    public List<LabChemicalUsedDescribeTo> listUsed(String chemicalId) {
        List<LabChemicalUsedDescribeTo> list = labChemicalUsedDescribeMapper.listUsed(chemicalId);
        return list;
    }
}
